package com.hama.iotrust.common.mybatis.result;

import java.util.ArrayList;

/**
 * The Class PaginationList.
 * 
 * @param <E> the element type
 * @author 金建强(ptma@163.com)
 * @version 1.0.0
 * @since 2013-4-2 19:59:55
 */
public class PaginationList<E> extends ArrayList<E> {

    private static final long serialVersionUID = -606035128542576010L;

    private int               totalRecords     = 0;

    public PaginationList(){

    }

    public PaginationList(int totalRecords){
        this.totalRecords = totalRecords;
    }

    public int getTotalRecords() {
        return totalRecords;
    }

    public void setTotalRecords(int totalRecords) {
        this.totalRecords = totalRecords;
    }

}
